﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using DevExpress.Xpf.Core;
using DevExpress.Xpf.Bars;
using DevExpress.Xpf.Layout.Core;
using DevExpress.Xpf.Docking;
using System.Threading;
using System.IO;
using GuiLabs.Undo;
using DynamicGeometry;

namespace Geometry2D
{
    public partial class MainWindow : DXWindow
    {
        public MainWindow()
        {
            InitializeComponent();
            Install();
        }

        #region members

        PilotWindow pilot;
        Tracker.trackerGrid tracker;

        #endregion

        private void Install()
        {
            pilot = new PilotWindow();
            pilot.Show();
            pilot.DrawingHost.DrawingControl.Drawing.ActionManager.CollectionChanged += new EventHandler(ActionManager_CollectionChanged);
            tracker = new Tracker.trackerGrid(pilot);
            tracker.trackerChannged += new EventHandler(tracker_trackerChannged);
            DetailView.Content = tracker;
        }

        void tracker_trackerChannged(object sender, EventArgs e)
        {
           
        }

        int countTracker;
        void ActionManager_CollectionChanged(object sender, EventArgs e)
        {
            
        }
       
    }

}
